cURL
curl --request GET \ --url https://agent-prod.studio.lyzr.ai/v3/tools/openapi/{tool_id} \ --header 'x-api-key: <api-key>'
{ "id": "tool123", "name": "Sample OpenAPI Tool", "openapi_schema": {}, "paths": {} }
Fetches detailed information about a specific OpenAPI tool.
/v3/tools/openapi/{tool_id}
x-api-key
tool_id
curl -X GET "https://agent-prod.studio.lyzr.ai/v3/tools/openapi/{tool_id}" ^ -H "accept: application/json" ^ -H "x-api-key: sk-default-REDACTED"
The ID of the tool to retrieve.
OpenAPI tool info retrieved successfully
"tool123"
"Sample OpenAPI Tool"
The OpenAPI schema defining the tool
Paths and operations available in the tool